package com.ccpp.demo.service;

import com.ccpp.demo.entity.User;

import java.util.Set;

/**
 * @author ZZZ
 * @version 1.0
 * @date 2018/9/20 020
 */
public interface UserService {

    User getUser(String userName);

    User getUserByUserName(String userName);

    Set<String> getRoleByUserName(String userName);

    Set<String> getPermissionByUserName(String userName);

    Object getUserById(int id);
}
